package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ceshi对象 ceshi
 *
 * @author ruoyi
 * @date 2024-03-27
 */
public class Ceshi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String bmname;

    /** 光缆名称 */
    @Excel(name = "光缆名称")
    private String glname;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String ywname;

    /** 炮筒名称 */
    @Excel(name = "炮筒名称")
    private String ptname;

    /** 源端口 */
    @Excel(name = "源端口")
    private String fromplace;

    /** 距离 */
    @Excel(name = "距离")
    private String height;

    /** 宿端口 */
    @Excel(name = "宿端口")
    private String toplace;

    /** 光缆状态（0正常 1停用） */
    @Excel(name = "光缆状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 炮筒位置 */
    @Excel(name = "炮筒位置")
    private String ptplace;

    public void setBmname(String bmname)
    {
        this.bmname = bmname;
    }

    public String getBmname()
    {
        return bmname;
    }
    public void setGlname(String glname)
    {
        this.glname = glname;
    }

    public String getGlname()
    {
        return glname;
    }
    public void setYwname(String ywname)
    {
        this.ywname = ywname;
    }

    public String getYwname()
    {
        return ywname;
    }
    public void setPtname(String ptname)
    {
        this.ptname = ptname;
    }

    public String getPtname()
    {
        return ptname;
    }
    public void setFromplace(String fromplace)
    {
        this.fromplace = fromplace;
    }

    public String getFromplace()
    {
        return fromplace;
    }
    public void setFar(String height)
    {
        this.height = height;
    }

    public String getFar()
    {
        return height;
    }
    public void setToplace(String toplace)
    {
        this.toplace = toplace;
    }

    public String getToplace()
    {
        return toplace;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setPtplace(String ptplace)
    {
        this.ptplace = ptplace;
    }

    public String getPtplace()
    {
        return ptplace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bmname", getBmname())
            .append("glname", getGlname())
            .append("ywname", getYwname())
            .append("ptname", getPtname())
            .append("fromplace", getFromplace())
            .append("height", getFar())
            .append("toplace", getToplace())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("ptplace", getPtplace())
            .toString();
    }
}
